package com.lark.web.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.lark.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lark.common.annotation.Excel;

/**
 * 镜像对象 image
 * @author fei
 * @email 952597665@qq.com
 * @date 2024-08-11
 */
@Data
public class Image extends BaseEntity<Image>
{
    private static final long serialVersionUID = 1L;

    /** 镜像ID */
    @Excel(name = "镜像ID")
    private String imageId;

    /** 镜像仓库 */
    @Excel(name = "镜像仓库")
    private String imageRepository;

    /** 镜像Tag */
    @Excel(name = "镜像Tag")
    private String imageTag;

    /** 镜像创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "镜像创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date imageCreateTime;

    /** 镜像创建时间开始 */
    private String beginImageCreateTime;

    /** 镜像创建时间结束 */
    private String endImageCreateTime;
	
    /** 镜像大小 */
    @Excel(name = "镜像大小")
    private String imageSize;
    // 主机IP
    private String ip;

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getIp() {
        return ip;
    }

    public void setImageId(String imageId)
    {
        this.imageId = imageId;
    }

    public String getImageId() 
    {
        return imageId;
    }

    public void setImageRepository(String imageRepository) 
    {
        this.imageRepository = imageRepository;
    }

    public String getImageRepository() 
    {
        return imageRepository;
    }

    public void setImageTag(String imageTag) 
    {
        this.imageTag = imageTag;
    }

    public String getImageTag() 
    {
        return imageTag;
    }

    public void setImageCreateTime(Date imageCreateTime) 
    {
        this.imageCreateTime = imageCreateTime;
    }

    public Date getImageCreateTime() 
    {
        return imageCreateTime;
    }

    public void setImageSize(String imageSize) 
    {
        this.imageSize = imageSize;
    }

    public String getImageSize() 
    {
        return imageSize;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imageId", getImageId())
            .append("imageRepository", getImageRepository())
            .append("imageTag", getImageTag())
            .append("imageCreateTime", getImageCreateTime())
            .append("imageSize", getImageSize())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createDept", getCreateDept())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("updateIp", getUpdateIp())
            .append("version", getVersion())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
